package com.helloworld.demo;

import java.util.ArrayList;

public class HeapTest {

    byte[] bytes = new byte[1024 * 1024];

    public static void main(String[] args) throws InterruptedException {
        ArrayList<HeapTest> arrayList = new ArrayList<>();
        while (true){
            arrayList.add(new HeapTest());
            Thread.sleep(10);
        }
    }

}
